package com.swg.service;

import com.github.pagehelper.PageInfo;
import com.swg.common.ServerResponse;
import com.swg.pojo.Shipping;

/**
 * @Author 【swg】.
 * @Date 2018/1/5 14:41
 * @DESC
 * @CONTACT 317758022@qq.com
 */
public interface ShippingService {
    ServerResponse add(Integer userId, Shipping shipping);
    ServerResponse<String> del(Integer userId,Integer shippingId);
    ServerResponse update(Integer userId, Shipping shipping);
    ServerResponse<Shipping> select(Integer userId, Integer shippingId);
    ServerResponse<PageInfo> list(Integer userId, int pageNum, int pageSize);
}
